package mr;

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;

public class Demo1 {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new FileReader("E:\\IDEJAVA\\mapreduce\\data\\students.txt"));
        String line;
        BufferedWriter bw = new BufferedWriter(new FileWriter("E:\\IDEJAVA\\mapreduce\\data\\bigstudent.txt"));
        while ((line=br.readLine())!=null){
            for (int i = 1;i<=1000;i++){
                bw.write(line);
                bw.newLine();
            }
        }
        bw.close();
        br.close();
    }
}
